/* SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright(c) 2022 Intel Corporation. All rights reserved.
 */

/* Created 13-Sep-2022 11:32:32 with script ref_matrix.m v1.9-rc1-1767-gf95e12db0 */

#define MEL_FILTERBANK_32_TEST2_FFT_SIZE  512
#define MEL_FILTERBANK_32_TEST2_NUM_MEL_BINS  23
#define MEL_FILTERBANK_32_TEST2_NORM_SLANEY  1
#define MEL_FILTERBANK_32_TEST2_MEL_LOG  MEL_LOG
#define MEL_FILTERBANK_32_TEST2_SHIFT  1

static const int32_t mel_filterbank_32_test2_real[257] = {
	  279461323,  1390781566, -1605893308,  -858491904, -2138369621,  1937491349,
	 1143747056,  1079343158, -1551063714,  -647167636, -1497480890,   -14084580,
	 1325651332,   570667122,   809178271,   599449521,   984929314,  1545525548,
	  545269203, -1371849607,   314849219, -1444972356,  1743978925, -1815298915,
	 -693488397,   346249730,  -106364189,  1311341503,   132191109, -1171193208,
	  899731117, -1509111693,   679103827,   575450661, -1162620797, -1364820282,
	-1433005068, -1504926082, -1276690205,  1954033604, -2079157853,  1965009171,
	-2037136123,  2023404891,  -869319949,   107688055,  1556235063,  1702546096,
	-1335689494,   690285243,  1895072448,  2043146547, -1683905266, -1379117314,
	 1058930316, -1935017962, -1841317411,   -46705538,  1502782519,  2134776746,
	-2128617521,   182997665,  1551978600,  1757238730,  1483269371,  1627246649,
	 1057344660, -1642870602,    38750298, -1422356743,  1422113078,  1838292632,
	-1419553569,  1648139240,  -481625200,  -504360328,  -981602217,  1580046067,
	 1037245156,  -223884919,   900392038,  1908388329, -1399653076, -1096950608,
	  605285980,  1325480637,  1517716916,  -437581375, -1651441517, -1802679586,
	 -599287008,  1412638579, -1225741978,  1250008673,   664381250, -2035185509,
	 1227399802,  1814894460,   -33014851,  1434569135, -1583323865,  1115761513,
	 1828522973,  1428968151, -1033364146, -1232562124,    95841258,  -440847895,
	  -89722801,  2121299979,   448731559,  1910868086,   -41050373,  -266517496,
	 1171046766,  1048257925,  -245225163, -1919850156, -1770291699,  1279839943,
	  668221204, -2008603503,   245100167,   944040490, -1673284689, -1216990252,
	 1335821654, -1551935396,  1640244578,  1819159433, -2092698923,  -527596991,
	-1426737932,   172755592, -1710846815, -1978829964,  1860704867,  2025471714,
	 -597309606,   619357493, -1855652208, -1254508423, -1977386421,  -131600748,
	-1502823133,  2110147159,  -313264831,  1955808290,   963133675,   347427259,
	  172906396,   882363199, -2125884759,  1213396031,  1833347908, -2111854071,
	 1394268115,  1148198810,  2135186707, -1169721149,  1801920055,   609882373,
	-1695136907,  -995741294,  1133200340,  1312156127, -1699720433,  -129885067,
	-1206619991,  1815516634,  -771708419,  1535638966, -1031450708,  1623767975,
	-1338880391,  1113229055, -2011379140,   611342025,   287208383,  -530816960,
	-1234595309,  1254804071, -1522808657,   -46632820, -2092311585, -1345991104,
	  -63434704,  1452669938, -1541648581,   997364367,   820626155, -1999338974,
	  -47857688,  2024606395, -1664508651,  1044595206,   595030659,   404512531,
	   -5916263,   291424953,  -315661837, -1820037736,  -899423475,   263432022,
	  572662886,  1850168227,  2052002907, -1745489544,   694646297,   441406242,
	 -112451421,  -617374308,  -104889795,   734533975,  1974161089, -1764869641,
	 1278794128,   389878861,  1770371579, -1713136531,  -887792748, -1925913993,
	   17730401,  1152665077,  -932070712, -1179568762,  -724605467,  -200783917,
	 1019559258,    42458564,  -504597704,  1741537155,  1998266816,   550904084,
	-1580414091,   508102269,  -502424827,  2109661082,  -915569840,   885585447,
	  151208178, -1317648556,   813617563, -1930781059, -1355345153, -1951382642,
	 1653740659,  1459405774, -1640010734,  -384765274, -1631105786,   309635025,
	 1930115931, -1046317771,  2103956023,  -645069552, -1251886872,
};

static const int32_t mel_filterbank_32_test2_imag[257] = {
	  712222229,  2033000035,   526991721, -1874590477,  -543272418, -1433438740,
	-1154151866, -1923249275,  1725530241,  1259678259,  -545399322,  1426164100,
	 1090211119,   523398017,  -454866325,  -604396553, -1765865234,  -679992092,
	  209038610,  -169447364,   624713187,    58071571,  1350451399, -1730084957,
	 -155849070,   385763180, -1343585726,   478159339, -1924394537,   325244767,
	 1470359298,    -1176934,  -261886113, -1507288350, -2026024331,  1102388345,
	 1271766600,  -886671970, -1652674442,  -536477360,  1412587879,  1467919242,
	  709693745,  1976286148,  1903176855, -1663443014,   636889745,   -82445970,
	-1861779452,  1708414405,   -11896506,  1165239354, -1888229847, -1020237420,
	  648837998, -1573659222,   595049409,  -494165644,  1141164760,   656767854,
	 -509000589,  -858913647,  -686595381,  1799275775,  -187832607,  -246973708,
	 -196770406,  1912471667, -1206374913,  1642407502, -2062119357,  -679614652,
	 1142579179,  -675152961,   510269620,  -201772572, -2103835602,   425550374,
	  436232735,   641743065,  -675509739,   -28779478,   866612496,  1665599490,
	-1911011999, -1725022287,   643312165,  1134175842,  2095767696, -1609217767,
	 -582066100,   756902474,  -533614591,  1561042334,  -893453051, -1574212929,
	  741528313, -1277387780,  1582760724,  1078712484,  -346261767, -2146491231,
	-1505541806,  -971374278,  1599553277,   434870352,  -767989747,  -926454191,
	 -277816499,  1734131920,  1825814843,    22730909,   547959698,   941731395,
	-2044778605,   321832645, -1947619647,  -332725154,  -138580293, -2050297185,
	-1867992764,  1820878597,   146642484,  -572104809,  -584346709, -1497338704,
	-1504919610,  -640800137,  -704520255,  1219890311,   -56954652,  -151191383,
	-1583758231,  1659538731,   749718434,  1439499684,   672110563,  2078407588,
	 2060681809, -1073084636,   535027098,   980293743,    -7858436,  1502501086,
	-1327496207, -1614290142, -2135498880, -1490556417,   146719625,    45670986,
	 -492994042,  -813482037, -2132213117,  1353955993,   594502751,  -221880670,
	-1099143247,  1303029022,  1391444366,  1512647321,  -140652639,  2021636696,
	 1465631884, -1810121671, -1127004196,  1363956549,  -404462590,  -144687911,
	 1939333290,  1997182581,  1139389827,   320119332,  1786384382,   -19617655,
	-1434465918,  -747334317,  -874300267,   250390115, -1857672986, -1851226054,
	-1431149321,  1921732705,  1336114580,   903900319,  2019689308,  2140726760,
	 2093602453, -1502866704,  1969151471,   130820620, -1829284479,  -808223063,
	 1697245576,  1437818950, -2137395819,   602196704,  1302159245, -1094655071,
	-1872080760, -1017270222, -1706303056,   -69926256,  -348388580,  -509859828,
	 1661143520,  -341202876,  -928366334, -1940547210, -1206172921, -1120230490,
	-2021819403,   868918778, -2114689190,   476400694,  -394752431, -1078265821,
	  654809529,  -771904028, -1702215264,   152750059, -1439371348,  1646856687,
	  714927423,  1493542630,  1128120679,  1318614121,   571026397,   903778405,
	  810303730,  -769023081,   135929249,  1602855843, -1913237532,     1721318,
	 -288779795,  1736380080,   559133237,  2074624777,   365932672,  1463022703,
	 -133943792,   194228427, -1378237306,   577508590,  1988392800,   146087950,
	  -87556120,  1261286223, -1749281258,  1635521583, -2130846940,    49517074,
	  766495473,   282383993,   -92519408,  -770891464,   436281912,
};

static const int16_t mel_filterbank_32_test2_mel_log[23] = {
	  -624,   -658,   -730,   -737,   -730,   -688,   -715,   -676,   -615,   -627,
	  -634,   -659,   -654,   -693,   -657,   -659,   -673,   -654,   -642,   -645,
	  -648,   -651,   -678,
};
